/**
 * @file master.h
 * @author Yao Zongyou <yaozy2010@gmail.com>
 * @date 2011-03-26
 */

#ifndef MASTER_H_2011_03_26
#define MASTER_H_2011_03_26

#pragma once

#define UNICODE
#define _UNICODE

#if defined(UNICODE) && !defined(_UNICODE) || defined(_UNICODE) && !defined(UNICODE)
#error Both UNICODE and _UNICODE must be defined
#endif /* Only one of UNICODE and _UNICODE is defined */

#define _WIN32_WINNT 0x0500
#define _WIN32_IE 0x0500
#define _WIN32_DCOM


#include <windows.h>
#include <tchar.h>
#include "ErrorMessages/errormessages.h"
#include "resource.h"

/* bool is a C++ datatype, so we must define our own */
typedef enum{
	false = 0, 
	true
} bool;

/* Version defines */
#define AUDIOPLAYER_VERSION 980
#define VERSION_TEXT "0.9.8.0"
#define VERSION_COMMA 0,9,8,0

/* Menu position enumeration (for the GetSubMenu calls) */
enum {
	FILE_MENU = 0,
	PLAYLIST_MENU,
	CONTROL_MENU,
	VOLUME_MENU,
	TOOLS_MENU,
	ABOUT_MENU
};

#endif /* MASTER_H_2011_03_26 */
